<?php
class index extends control{
	public function __construct(){

		parent::__construct();
		session_start();
		$this->p = $this->app->loadClass('proving');//加载相关类
		$this->xdata = $this->app->loadClass('xdata');//加载相关类
		$this->role = @$_COOKIE['role'];
		$this->role_area = @$_COOKIE['role_area'];
		$this->role_city = @$_COOKIE['role_city'];
		$this->role_province = @$_COOKIE['role_province'];
		$this->cus_goon = @$_COOKIE['cus_goon'];
	}

	public function index(){
		/*$this->p->isLogin();//验证是否登录
		$this->view->role = $this->role; //角色
		$this->view->role_city = $this->role_city;
		$this->view->cus_goon = $this->cus_goon;
		$this->display();*/
		header('Location:baoan-get_baoan');
		exit;
	}


}
?>